package com.xy.biz.xd.service;

import com.xy.biz.xd.domain.bo.DocumentReleaseBO;
import com.xy.biz.xd.domain.req.GenerateDocumentRequest;
import com.xy.biz.xd.domain.req.ListLedgerDataRequest;
import com.xy.biz.xd.domain.resp.GetDocumentReleaseResponse;
import com.xy.lang.domain.Page;
import com.xy.lang.domain.Result;
import org.springframework.stereotype.Service;

import java.io.IOException;

/**
 * @author Greekn Zhang
 * @date 2021/7/1 13:44
 * @description
 */
public interface LedgerService {

    /**
     * 生成表格
     */
    Result<?> generate(GenerateDocumentRequest request) throws IOException;

    /**
     * 查找生效文件
     */
    Page<GetDocumentReleaseResponse> listEffect(ListLedgerDataRequest request);
}
